﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Practices.Unity;
using Kyers._50kweb.ActionServices.User;
using System.Web.Mvc;

namespace _50kWebSite.RegisterService
{
    public  class Kyers_RegisterServices
    {
    
        public static void RegisterDependencyResolver()
        {
            var container = new UnityContainer();


            container.RegisterType<IUserActionServices, UserActionService>(new HttpContextLifetimeManager<IUserActionServices>());
          

            DependencyResolver.SetResolver(new KyersDependencyResolver(container));
        }
    }
}